#include <REGX52.H>
#include "Key.h"
#include "LED.h"
#include "buzzer.h"


unsigned char KeyNum;

void main()
{
		Showdata(1,0);
		while(1)
		{
			KeyNum = Key();
			if(KeyNum)
			{
				Buzzer_Timer(100);
				Showdata(1,KeyNum);
			}	
		}
}